﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Net;
using System.Runtime.Serialization.Formatters.Binary;

namespace RemoteObject
{
    public class Common
    {
        public static BinaryFormatter bf = new BinaryFormatter();
        public static string LocalIPAddress = Dns.GetHostByName(Dns.GetHostName()).AddressList[0].ToString();

        public static string RemoteServerUrl = "ServiceURLTcp";
        public static string CloudServerURL;

        public static int BlockSize = 1024 * 1024;
        public static Byte[] endingBlock = new Byte[1];

        public static int MAX_BLOCKS = 8;

        public enum Status
        {
            Working,
            Pause,
            Completed
        }
    }
}
